package kr.co.hanbit;

public class VarTest {
    public void argTest(String...n){
    	for(int i=0;i<n.length;i++)
    	System.out.println("n["+i+"]:"+n[i]);
    	System.out.println("----------------------");
    }
    public static void main(String[] args) {
    	VarTest gt=new VarTest();
    	gt.argTest("Varargs","Test");
    	gt.argTest("100","600","900","1000");
	}
}
